package com.xinqi.modules.prepare.question.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 备课区试题夹-请求对象-修改
 *
 * @author: system
 * @date: 2023/03/19
 */
@Data
@Schema(description = "备课区试题夹名称是否存在-请求对象")
public class PrepareQuestionFolderIsExistNameDTO implements Serializable {
    @Schema(description = "试题夹id", example = "10002")
    private Long id;

    @Schema(description = "备课区ID", example = "10002", hidden = true)
    @NotNull(message = "备课区ID不能为空")
    private Long prepareId;
    /**
     * 试题夹名称
     */
    @Schema(description = "试题夹名称", example = "试题夹01")
    @NotBlank(message = "试题夹名称不能为空")
    private String name;

}
